package com.pap.datas.agent.dict.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(description = "字典操作实体类")
public class DictDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(notes = "编号")
	private String id;
	
	/**
	 * 编码,所属表字段为t_data_dict.CODE
	 */
	@ApiModelProperty(notes = "编码")
	private String code;

	/**
	 * 名称,所属表字段为t_data_dict.NAME
	 */
	@ApiModelProperty(notes = "名称")
	private String name;

	/**
	 * 备注,所属表字段为t_data_dict.REMARK
	 */
	@ApiModelProperty(notes = "备注")
	private String remark;

	/**
	 * 排序号,所属表字段为t_data_dict.ORDER_NO
	 */
	@ApiModelProperty(notes = "排序号")
	private String orderNo;

	/**
	 * 字典类型,所属表字段为t_data_dict.DICT_TYPE
	 */
	@ApiModelProperty(notes = "字典类型")
	private String dictType;

	@ApiModelProperty(notes = "字典明细")
	private List<DictDetailDTO> details;


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getOrderNo() {
		return orderNo;
	}


	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}


	public String getDictType() {
		return dictType;
	}


	public void setDictType(String dictType) {
		this.dictType = dictType;
	}


	public List<DictDetailDTO> getDetails() {
		return details;
	}


	public void setDetails(List<DictDetailDTO> details) {
		this.details = details;
	}


	@Override
	public String toString() {
		return "DictDTO [id=" + id + ", code=" + code + ", name=" + name + ", remark=" + remark + ", orderNo=" + orderNo
				+ ", dictType=" + dictType + ", details=" + details + "]";
	}
	
}
